//
//  BowenPreviewTitleCell.m
//  YiqiMobile
//
//  Created by henry on 13-4-21.
//  Copyright (c) 2013年 henry. All rights reserved.
//

#import "BowenPreviewTitleCell.h"
#import "Config.h"
#import "Utility.h"
@implementation BowenPreviewTitleCell

- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
         self.selectionStyle=UITableViewCellSelectionStyleNone;
        //内容
        self.content=[Utility detailTextLabel:CGRectMake(10, 10, 300, 20)andFontSize:15.0f];
        self.content.textColor=[UIColor blackColor];
        [self addSubview:self.content];
         //评论数
        self.plLabel=[Utility detailTextLabel:CGRectZero andFontSize:12.0f];
        self.plLabel.textColor=[UIColor blackColor];
        [self addSubview:self.plLabel];
        //分享数
        self.fenxiangLabel=[Utility detailTextLabel:CGRectZero andFontSize:12.0f];
        self.fenxiangLabel.textColor=[UIColor blackColor];
        [self addSubview:self.fenxiangLabel];
        //收藏数
        self.shoucangLabel=[Utility detailTextLabel:CGRectZero andFontSize:12.0f];
        self.shoucangLabel.textColor=[UIColor blackColor];
         [self addSubview:self.shoucangLabel];
        //内容图片
        self.contentImage=[[UIImageView alloc] initWithFrame:CGRectZero];
        [self addSubview:self.contentImage];
        //评论数图片
        self.plImage=[[UIImageView alloc] initWithFrame:CGRectZero];
        self.plImage.image=[Utility imageNamed:@"gonggao_pinglun.png"];
        [self addSubview:self.plImage];
        //分享数图片
        self.fenxiangImage=[[UIImageView alloc] initWithFrame:CGRectZero];
         self.fenxiangImage.image=[Utility imageNamed:@"fenxianglist.png"];
        [self addSubview:self.fenxiangImage];
        //收藏数图片;
        self.shoucangImage=[[UIImageView alloc] initWithFrame:CGRectZero];
        self.shoucangImage.image=[Utility imageNamed:@"gonggaoCell_shoucang.png"];
        [self addSubview:self.shoucangImage];
    }
    return self;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated
{
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
